<template>
  <el-col :span="19">
    <el-form :inline="true" :model="formInline"  label-width="80px" class="demo-form-inline">
      <el-form-item label="检索" label-width="80px">
          <el-input placeholder="" v-model="formInline.keyValue" class="input-with-select">
          <el-button slot="append" icon="el-icon-search"></el-button>
          </el-input>
      </el-form-item>
       <el-form-item label="执行时间" label-width="100px">
          <el-date-picker
            v-model="formInline.date"
            type="daterange"
            range-separator="至"
            start-placeholder="开始日期"
            end-placeholder="结束日期">
          </el-date-picker>
      </el-form-item>
      <el-form-item label="医嘱期效" label-width="100px">
        <el-select v-model="formInline.doctor" placeholder="全部">
          <el-option label="写代码" value="0"></el-option>
          <el-option label="吹牛" value="1"></el-option>
        </el-select>
      </el-form-item>
    </el-form>
    <el-col :span="24">
       <FromList :tableData="tableData" :tableTitle="tableTitle" />
    </el-col>
  </el-col>
</template>

<script>
import FromList from "../../../../forComponents/fromList/fromList"
export default {
   name:"fromRight",
   data(){
     return {
       formInline: {
          keyValue: '',  //查询
          date: '', //执行时间
          doctor:"" //医嘱期效
          
       },
       tableData:[
         {
           date:"2021-7-19",
           nurse:"吴护士",
           actionTime:"长期",
           type:"药品",
           doctor:"吴神医",
           content:"没救了",
           specification:"药品元素规格",
           dosage:"一",
           unit:"支",
           frequency:"频繁",
           usage:"外用",
           skipTest:true,
           count:10,
           unitTwo:"板",
           decoction:"",
           toPayFor:"",
           source:"医院录入",
           departments:"妇产科",
           healthcareCoding:"522222222222",
           payFor:"农村",
           money:1000,
           
         }
       ],
       tableTitle:[
         {
           prop:"date",
           name:"执行时间",
           type:1
         },
         {
           prop:"nurse",
           name:"执行护士",
           type:1
         },
         {
           prop:"actionTime",
           name:"期效",
           type:1
         },
         {
           prop:"type",
           name:"类型",
           type:1
         },
         {
           prop:"",
           name:"成组",
           type:1
         },
         {
           prop:"doctor",
           name:"医嘱医生",
           type:1
         },
         {
           prop:"content",
           name:"医嘱内容",
           type:1
         },
         {
           prop:"specification",
           name:"规格",
           type:1
         },
         {
           prop:"dosage",
           name:"剂量",
           type:1
         },
         {
           prop:"unit",
           name:"单位",
           type:1
         },
         {
           prop:"frequency",
           name:"频次",
           type:1
         },
         {
           prop:"usage",
           name:"用法",
           type:1
         },
         {
           prop:"skipTest",
           name:"皮试",
           type:3
         },
         {
           prop:"count",
           name:"总量",
           type:1
         },
         {
           prop:"unitTwo",
           name:"单位",
           type:1
         },
         {
           prop:"decoction",
           name:"煎法",
           type:1
         },
         {
           prop:"toPayFor",
           name:"付数",
           type:1
         },
         {
           prop:"departments",
           name:"执行科室",
           type:1
         },
         {
           prop:"source",
           name:"来源",
           type:1
         },
         {
           prop:"healthcareCoding",
           name:"医保编码",
           type:1
         },
         {
           prop:"payFor",
           name:"医保类型",
           type:1
         },
         {
           prop:"money",
           name:"金额",
           type:1
         },
       ]
     }
   },
   components:{
     FromList
   }
}
</script>

<style lang='scss' scoped>

</style>